package aom.ju.ss.view.dialog

import android.app.Activity
import aom.ju.ss.R
import aom.ju.ss.databinding.CutDialogBinding
import aom.ju.ss.databinding.CutOkDialogBinding
import aom.ju.ss.lpInterface.MyHttpCallBack
import aom.ju.ss.utils.http.LP_API
import aom.ju.ss.utils.http.OKHttpUtils
import aom.ju.ss.utils.show
import aom.ju.ss.utils.start
import aom.ju.ss.view.cut.CutIngListActivity

class CutOkDialog(activity: Activity, var num: String) : BaseDialog(activity) {
    override fun getLay(): Int {
        return R.layout.cut_ok_dialog

    }

    init {
        setWidth(-1)
        var binding = vBinding as CutOkDialogBinding

        binding.textView76.text = "¥" + num + "元"
        binding.cut.setOnClickListener {
            activity.start(CutIngListActivity::class.java)
            dis()
        }
        binding.gb.setOnClickListener { dis() }
    }

}